package com.jsb.laundry.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class LoginUserInfoVo {
    @ApiModelProperty("用户信息")
    private UserInfo userInfo;
    @ApiModelProperty("令牌")
    private String token;

    @Data
    public static class UserInfo {
        @ApiModelProperty("用户id")
        private String userId;
        @ApiModelProperty("用户昵称")
        private String userName;
        @ApiModelProperty("用户头像")
        private String userImg;
        @ApiModelProperty("工号")
        private String id;
    }
}
